* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-image: url("./imgs/48.png");
    background-size: 100px 100px;
}

.wrapper {
    width: 700px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 200px;
    text-align: right;
}

/*title 样式------------------------------*/
.title {
    margin: 10px 0;
    color: #f56;
}

/* 轮播区域样式-------------------------------------- */

.slide_main {
    position: relative;
    height: 340px;
    width: 600px;
    padding: 40px;
    background-color: aliceblue;
}

/* 图片轮播 样式*/
.slide_img {
    position: absolute;
    width: 240px;
    bottom: -30px;
    opacity: 0;
    left: -180px;
    z-index: 1;
    transition: all 500ms cubic-bezier(0.17, 1.6, 0.45, 0.9);
}

.slide_img img {
    width: 100%;
}

/*图片 动画效果*/
input#btn_1:checked ~ .slide_main .slide_img:nth-of-type(2) {
    opacity: 1;
    left: -50px;
    transition: all 500ms 320ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_2:checked ~ .slide_main .slide_img:nth-of-type(3) {
    opacity: 1;
    left: -50px;
    transition: all 500ms 320ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_3:checked ~ .slide_main .slide_img:nth-of-type(4) {
    opacity: 1;
    left: -50px;
    transition: all 500ms 320ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_4:checked ~ .slide_main .slide_img:nth-of-type(5) {
    opacity: 1;
    left: -50px;
    transition: all 500ms 320ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

/*文字轮播 样式*/
.slide_text {
    position: absolute;
    display: inline-block;
    left: 240px;
    width: 315px;
    text-align: left;
    font-size: 22px;
    font-family: 'Amatic SC', cursive;
}

.slide_text h2 {
    position: relative;
    left: -100px;
    opacity: 0;
    color: #795da3;
    margin-bottom: 10px;
    transition: all 500ms 200ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

.slide_text h3 {
    position: relative;
    left: -100px;
    opacity: 0;
    margin-bottom: 10px;
    color: #f40;
    transition: all 500ms 250ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

.slide_text p {
    color: #acacac;
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 30px;
    position: relative;
    left: -100px;
    opacity: 0;
    transition: all 500ms 300ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

.slide_text button {
    font-family: 'Amatic SC', cursive;
    padding: 10px;
    font-size: 22px;
    color: #eeeeee;
    border: none;
    outline: none;
    background-color: #de467c;
    border-radius: 255px 15px 205px 35px/35px 225px 35px 255px;
    margin-left: 10px;
    position: relative;
    left: -100px;
    opacity: 0;
    transition: background-color 200ms linear, left 500ms 350ms cubic-bezier(0.17, 1.6, 0.45, 0.9), opacity 500ms 350ms cubic-bezier(0.17, 1.6, 0.45, 0.9);
}

/*文字动画效果*/
input#btn_1:checked ~ .slide_main .slide_text:nth-of-type(6) h2 {
    opacity: 1;
    left: 0;
    transition: all 500ms 500ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_1:checked ~ .slide_main .slide_text:nth-of-type(6) h3 {
    opacity: 1;
    left: 0;
    transition: all 500ms 550ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_1:checked ~ .slide_main .slide_text:nth-of-type(6) p {
    opacity: 1;
    left: 0;
    transition: all 500ms 600ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_1:checked ~ .slide_main .slide_text:nth-of-type(6) button {
    opacity: 1;
    left: 0;
    transition: all 500ms 650ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_2:checked ~ .slide_main .slide_text:nth-of-type(7) h2 {
    opacity: 1;
    left: 0;
    transition: all 500ms 500ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_2:checked ~ .slide_main .slide_text:nth-of-type(7) h3 {
    opacity: 1;
    left: 0;
    transition: all 500ms 550ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_2:checked ~ .slide_main .slide_text:nth-of-type(7) p {
    opacity: 1;
    left: 0;
    transition: all 500ms 600ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_2:checked ~ .slide_main .slide_text:nth-of-type(7) button {
    opacity: 1;
    left: 0;
    transition: all 500ms 650ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_3:checked ~ .slide_main .slide_text:nth-of-type(8) h2 {
    opacity: 1;
    left: 0;
    transition: all 500ms 500ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_3:checked ~ .slide_main .slide_text:nth-of-type(8) h3 {
    opacity: 1;
    left: 0;
    transition: all 500ms 550ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_3:checked ~ .slide_main .slide_text:nth-of-type(8) p {
    opacity: 1;
    left: 0;
    transition: all 500ms 600ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_3:checked ~ .slide_main .slide_text:nth-of-type(8) button {
    opacity: 1;
    left: 0;
    transition: all 500ms 650ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_4:checked ~ .slide_main .slide_text:nth-of-type(9) h2 {
    opacity: 1;
    left: 0;
    transition: all 500ms 500ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_4:checked ~ .slide_main .slide_text:nth-of-type(9) h3 {
    opacity: 1;
    left: 0;
    transition: all 500ms 550ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_4:checked ~ .slide_main .slide_text:nth-of-type(9) p {
    opacity: 1;
    left: 0;
    transition: all 500ms 600ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

input#btn_4:checked ~ .slide_main .slide_text:nth-of-type(9) button {
    opacity: 1;
    left: 0;
    transition: all 500ms 650ms cubic-bezier(0.17, 1.6, 0.45, 0.9);

}

/* 特效 --------------------*/
.special {
    width: 500px;
    height: 500px;
    /*border: 1px solid #795da3;*/
    position: absolute;
    top: -125px;
    left: -145px;
    z-index: 100;
}

.special > div {
    height: 20px;
    width: 8px;
    position: absolute;
    left: 230px;
    top: 230px;
    transition: all 600ms 400ms;
}

.special > div:nth-of-type(1) {
    background-color: #795da3;
    transform: rotateZ(20deg);
}

.special > div:nth-of-type(2) {
    background-color: #DD4A68;
    transform: rotateZ(40deg);
}

.special > div:nth-of-type(3) {
    background-color: #55a532;
    transform: rotateZ(60deg);
}

.special > div:nth-of-type(4) {
    background-color: #0086b3;
    transform: rotateZ(80deg);
}

.special > div:nth-of-type(5) {
    background-color: #990055;
    transform: rotateZ(100deg);
}
.special > div:nth-of-type(6) {
    background-color: #9a6e3a;
    transform: rotateZ(120deg);
}

.special > div:nth-of-type(7) {
    background-color: #ff4400;
    transform: rotateZ(140deg);
}
.special > div:nth-of-type(8) {
    background-color: #ff4400;
    transform: rotateZ(160deg);
}
.special > div:nth-of-type(9) {
     background-color: #ff5566;
     transform: rotateZ(180deg);
 }

.special > div:nth-of-type(10) {
    background-color: #ee9900;
    transform: rotateZ(180deg);
}
.special > div:nth-of-type(11) {
    background-color: #795da3;
    transform: rotateZ(20deg);
}

.special > div:nth-of-type(12) {
    background-color: #DD4A68;
    transform: rotateZ(40deg);
}

.special > div:nth-of-type(13) {
    background-color: #55a532;
    transform: rotateZ(60deg);
}

.special > div:nth-of-type(14) {
    background-color: #0086b3;
    transform: rotateZ(80deg);
}

.special > div:nth-of-type(15) {
    background-color: #990055;
    transform: rotateZ(100deg);
}
.special > div:nth-of-type(16) {
    background-color: #9a6e3a;
    transform: rotateZ(120deg);
}

.special > div:nth-of-type(17) {
    background-color: #ff4400;
    transform: rotateZ(140deg);
}
.special > div:nth-of-type(18) {
    background-color: #ff4400;
    transform: rotateZ(160deg);
}
.special > div:nth-of-type(19) {
    background-color: #ff5566;
    transform: rotateZ(180deg);
}
.special > div:nth-of-type(20) {
    background-color: #ff5566;
    transform: rotateZ(320deg);
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(1) {
    top: 100px;
    left: 0;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(2) {
     top: 120px;
     left: 10px;
     opacity: 0;
 }

input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(3) {
    top: 130px;
    left: 30px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(4) {
    top: 130px;
    left: 50px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(5) {
    top: 130px;
    left: 70px;
    opacity: 0;
}

input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(6) {
    top: 130px;
    left: 100px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(7) {
    top: 0;
    left: 150px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(8) {
    top: 0;
    left: 180px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(9) {
    top: 0;
    left: 200px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(10) {
    top: 0;
    left: 220px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(11) {
    top: 0;
    left: 230px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(12) {
    top: 0;
    left: 260px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(13) {
    top: 130px;
    left: 280px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(14) {
    top: 130px;
    left: 300px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(15) {
    top: 130px;
    left: 330px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(16) {
    top: 150px;
    left: 380px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(17) {
    top: 150px;
    left: 400px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(18) {
    top: 150px;
    left: 430px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(19) {
    top: 150px;
    left: 450px;
    opacity: 0;
}
input#btn_1:checked~ .slide_main .slide_img .special > div:nth-of-type(20) {
    top: 0;
    left: 480px;
    opacity: 0;
}
.slide_text button:hover {
    background-color: #795da3;
    cursor: pointer;
}

/*右侧 按钮样式----------------------------------------*/
.btn_box {
    position: absolute;
    top: 0;
    right: -20px;
}

.btn_box:nth-of-type(2) {
    top: 66px;
}

.btn_box:hover > div {
    background-color: #795da3;
    cursor: pointer;
    padding-left: 10px;
}

.btn_box:nth-of-type(3) {
    top: 132px;
}

.btn_box:nth-of-type(4) {
    top: 200px;
}

.btn_box div {
    transition: all 300ms linear;
    width: 120px;
    height: 68px;
    border-radius: 265px 35px 185px 14px/8px 235px 12px 255px;
    font-family: 'Bad Script', cursive;
    line-height: 68px;
    text-align: center;
    color: #eeeeee;
    background-color: #de467c;

}

input[type="radio"]:checked + label > div {
    background-color: #d02562;
}
input[type="radio"] {
    display: none;
}

/*图片旋转特效*/
.rotate {
    width: 500px;
    height: 500px;
    position: absolute;
    top: 40px;
    left: -180px;
    opacity: .6;
    animation: rotate 6s linear infinite;
    pointer-events: none;
}

/*下部宣传 图片*/
.main_img {
    position: absolute;
    bottom: -100px;
    right: 58px;
    width: 360px;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotateZ(0);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

